import request from '@/utils/request'

// 流程节点关联列表
export function nodeLists(params?: Record<string, any>) {
    return request.get({ url: '/flowNode/list', params })
}

// 流程节点关联详情
export function nodeDetail(params: Record<string, any>) {
    return request.get({ url: '/flowNode/detail', params })
}

// 流程节点关联新增
export function nodeAdd(params: Record<string, any>) {
    return request.post({ url: '/flowNode/add', params })
}

// 流程节点关联编辑
export function nodeEdit(params: Record<string, any>) {
    return request.post({ url: '/flowNode/edit', params })
}

// 流程节点关联删除
export function nodeDelete(params: Record<string, any>) {
    return request.post({ url: '/flowNode/del', params })
}
